package descentFly.away3D4.chips
{
	import away3d.containers.ObjectContainer3D;
	
	import descentFly.df_space;
	
	import jiglib.physics.RigidBody;
	import jiglib.plugin.away3d4.Away3D4Mesh;
	
	public class df_chipDummy extends df_chipAway {
		public function df_chipDummy(a_space:df_space, a_options:Object) {
			super(a_space, a_options);
		}
		
		override protected function initBody():void {
			var _myBody: RigidBody = physic.createSphere(spaceAway.transMaterial, options.body.radius, 4, 3);
			_myBody.friction  = 0;
			setBody(_myBody);
		}
		
		override protected function get awayObject(): ObjectContainer3D {
			return (body.skin as Away3D4Mesh).mesh;
		}
	}
}